# -*- mode: snippet -*-
# name: beamer macro
# key: bm
# expand-env: ((yas/indent-line 'fixed) (yas/wrap-around-region 'nil))
# --
\documentclass[presentation]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{verbatim,color}
\usepackage{listings}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{mytikz}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\providecommand{\alert}[1]{\textbf{#1}}
\hypersetup{
  pdfpagemode=FullScreen,
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Emacs Org-mode version 7.8.02}}
\usetheme{Darmstadt}\usecolortheme{rose}
\usepackage{xeCJK}\setCJKmainfont{WenQuanYi Micro Hei}\setCJKmonofont{WenQuanYi Zen Hei}
\setmainfont{Times New Roman}\setsansfont{Times New Roman}
\begin{document}
\title{${1:title}}
\author{X.W.P \newline \newline Tsinghua University}
\date{\today}
\maketitle

% frame outline
\begin{frame}
\frametitle{Outline}
\setcounter{tocdepth}{${2:3}}
\tableofcontents
\end{frame}
$0
\end{document}
